<?php

namespace project\memory;

class ServicePermission
{
    public static function createToken(): string
    {
        return md5(uniqid());
    }

    public static function createTest($length)
    {
        return bin2hex(openssl_random_pseudo_bytes($length));
    }
}